Skip to main content

DeleteLoginBaseConfig

Description

call DeleteLoginBaseConfig delete the basic configuration information of login security settings in a single asset details page.

Request Method

POST

Request Path

/apsara/route/Sas/DeleteLoginBaseConfig

Request Parameters Common Parameters

NameLocationTypeRequiredSample valueDescription
TypeBODYstringYeslogin_common_timeset the configuration type of common login to be deleted. Value: login_common_ip: common login IP login_common_time: common login time login_common_account: common login account login_common_location: common login address
TargetBODYstringNo123-abcthe UUID of the configured server needs to be deleted.
regionIdBODYstringYesNo sample value for this parameter.region id
ConfigBODYstringYes{"startTime":"06:00:00","endTime":"16:00:00"}details of the basic configuration information. Different configuration types correspond to different configuration information. Value: login_common_ip: common login IP example:{"ip":"10.23.23.23"} login_common_time: common login time examples:{"startTime":"06:00:00","endTime":"16:00:00"} login_common_account: common login account example:{"account":"test_account_001"} login_common_location: common login address example:{"location":"Shanghai"}
versionBODYstringNo2016-01-01version of api

Return data

NameTypeSample valueDescription
RequestIdstring7E0618A9-D5EF-4220-9471-C42B5E92719Fthe unique identifier generated by alibaba cloud for this request.

Example

Successful Response example

{
"RequestId":"7E0618A9-D5EF-4220-9471-C42B5E92719F"
}

Failed Response example

{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}

}